package com.hzxy.yiyid.web.module.repository.entity;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * (SolarTerms)表实体类
 *
 * @author makejava
 * @since 2023-11-11 09:25:51
 */
@SuppressWarnings("serial")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value="solar_terms")
public class SolarTerms {
    //节气id
    private Integer id;
    //节气名称
    private String solarName;
    //节气时间
    @JsonFormat(pattern = "yyyy年MM月dd日")
    private Date solarTime;
    //节气图片地址
    private String pic;
    //剩余天数
    private Integer remainingDays;
    //节气禁忌
    private String solarTaboo;
    //节气宜
    private String solarSuit;
    //创建时间
    private Date createTime;
    //播种时间
    private String sowTime;
    //历史背景
    private String history;
    //农历时间
    private String lunarCalendar;

}

